<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="utf-8">
		<meta name="renderer" content="webkit">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
		<title>index</title>
		<link rel="stylesheet" href="source/plugins/layui/css/layui.css" />
		<link rel="stylesheet" href="source/plugins/font-awesome/css/font-awesome.min.css">
		<link rel="stylesheet" href="source/css/system.css" />
	</head>

	<body>
		<div class="admin-submain">
			<div class="layui-tab layui-tab-brief admin-subtab">

				<ul class="layui-tab-title">
					<li class="layui-this">内容1</li>
				</ul>
				<div class="layui-tab-content">
					<div class="layui-tab-item layui-show">
						
							
						<div id="role-ztree-box" style="max-height: 300px;"><!--权限树-->
							<form class="layui-form" style="margin-top:24px;" onsubmit="return false">
							    <div class="layui-form-item">
							        <label class="layui-form-label">角色名称：</label>
							        <div class="layui-input-inline">
							            <input type="text" name="roleName" lay-verify="required" placeholder="请输入角色名称" autocomplete="off" class="layui-input">
							        </div>
							    </div>
							    <div class="layui-form-item is-accept">
							        <label class="layui-form-label">角色描述：</label>
							        <div class="layui-input-inline">
							            <textarea name="roleDesc" placeholder="角色描述" class="layui-textarea" style="min-height: auto;" cols="2"></textarea>
							        </div>
							    </div>
							    <div class="layui-form-item">
									<label class="layui-form-label">下拉选择框</label>
									<div class="layui-input-inline">
										<select name="interest" lay-filter="aihao">
											<option value="0">写作</option>
											<option value="1">阅读</option>
										</select>
									</div>
								</div>
							    <div class="layui-form-item">
									<div class="layui-input-block">
										<button class="layui-btn" lay-submit lay-filter="formRole" id="role-submit">确 定</button>
									</div>
								</div>
							</form>
						</div>
						<select name="interest" lay-filter="aihao">
							<option value="0">写作</option>
							<option value="1">阅读</option>
						</select>
					</div>
				</div>
			</div>
		</div>

		<script src="source/plugins/layui/layui.js"></script>
		<script src="source/plugins/datatables/jquery-1.12.4.js"></script>
		<script src="source/js/system.js"></script>
		<script>
			$(function(){
				layui.use(['element', 'layer', 'form'], function() {
					var element = layui.element(),
						layer = layui.layer,
						form = layui.form();
					
					$("[name='interest']").val(1);
					form.render("select");
					
					
				})
			})

			
		</script>
	</body>

</html>